<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width , initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function People(name,height){
            this.name = name
            this.height =height
            this.say =function(){
                console.log("hello")
            }
            

        }
        let xiaoming = new People("小明",175)
        console.log(xiaoming)
        xiaoming.say()
    </script>
</body>
</html>